#ifndef AED_ATTRIBUTE_H
#define AED_ATTRIBUTE_H

#include <QString>
class AED_Attribute
{
    QString m_type;
    QString m_name;
public:
    AED_Attribute(const QString &type, const QString &name):
        m_type(type),m_name(name){}
    AED_Attribute(const AED_Attribute &attr){
        m_type=attr.m_type;m_name=attr.m_name;
    }
    AED_Attribute& operator=(const AED_Attribute &attr){
        m_type=attr.m_type;m_name=attr.m_name;
        return *this;
    }

    bool operator==(const AED_Attribute &attr)const{
        if(m_type==attr.m_type&&m_name==attr.m_name)
            return true;
        return false;
    }

    QString GetType()const{return m_type;}
    void SetType(const QString &type){m_type=type;}
    QString GetName()const{return m_name;}
    void SetName(const QString &name){m_name=name;}
};

#endif // AED_ATTRIBUTE_H
